<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/servlet?cmd=change" method="post">
    <input type="text" name="id" value="${user.id}" hidden>
    名字<input type="text" name="u_name" value="${user.name}"><br/>
    年龄<input type="text" name="u_age" value="${user.age}"><br/>
    薪水<input type="text" name="u_salary" value="${user.salary}"><br/>
    时间<input type="text" name="hiredate"
             value="<fmt:formatDate value="${user.hiredate}" pattern="yyyy年MM月dd日"/>"><br/>
    <input type="submit" value="提交"><br/>
</form>
</body>
</html>
